Skip to content

feat(api): add analytics and project report forwarding - #30

Merged
bjarn merged 2 commits into
mainfrom
codex/analytics-report-forwarding
Oct 1, 2026
Merged

bjarn merged 2 commits into
mainfrom
codex/analytics-report-forwarding

Conversation

@bjarn

@bjarn bjarn commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Review sending-openapi.json and team-openapi.json from the current documentation source.

Source fingerprints:

  • sending: c2aafb6d48a2572e688224629076748322f9c257394f18fe8879efb3f05059cb
  • team: d5525f1ce1865a3f8aee979f296c535d0029791450d89794731e70f7125b199c

The source specifications remain outside this repository and are not changed.

Changes

Add POST /analytics and its request and response types. Add project report-forwarding retrieve, update, delete, verify, and resend-code methods. Handle the empty HTTP 204 delete response.

Update project, route, webhook, RBAC, and suppression contracts. Keep project creation API tokens and both successful suppression deletion results. Keep existing public type names, scheduling helpers, builders, and cursor types. Check all 55 object component field sets against the current source. No public model type names are removed.

Keep string-valued header maps for single-message and batch sending. Both current source schemas define headers as an object with string-valued additional properties.

Validation

Ruff, mypy, 70 tests, and wheel/source package builds passed. The installed mypy warns that its Python 3.9 configuration is no longer supported. CI must check supported Python versions.

Compatibility corrections

Keep reschedule, cancel, and process on AsyncMessagesEndpoint. Restore the old AsyncDomainsEndpoint calls as forwarders to that message endpoint. Both client paths use the specified HTTP methods, escaped message IDs, Bearer auth, bodies, and HTTP 200/202 responses. Ruff, mypy, all 70 tests, and wheel/source builds passed.

Keep the specification corrections for fields and enum values that the API no longer returns or accepts. Do not restore those as current wire contracts.

@bjarn
bjarn requested a review from a team as a code owner September 30, 2026 21:06
@bjarn
bjarn merged commit 539bcf5 into main Oct 1, 2026
7 checks passed
@bjarn
bjarn deleted the codex/analytics-report-forwarding branch October 1, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants